Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SetIsclAuthenticationData(Byte[],Int32) Method
See Also 
Leadtools.Dicom Namespace > DicomNet Class > SetIsclAuthenticationData Method : SetIsclAuthenticationData(Byte[],Int32) Method



buffer
Buffer that holds the authentication data.
length
The length of the authentication data, in bytes. The method will fail if this is not in the range 1 to 128.
buffer
Buffer that holds the authentication data.
length
The length of the authentication data, in bytes. The method will fail if this is not in the range 1 to 128.
Sets the authentication data used during the mutual authentication process.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub SetIsclAuthenticationData( _
   ByVal buffer() As Byte, _
   ByVal length As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomNet
Dim buffer() As Byte
Dim length As Integer
 
instance.SetIsclAuthenticationData(buffer, length)
C# 
public void SetIsclAuthenticationData( 
   byte[] buffer,
   int length
)
C++/CLI 
public:
void SetIsclAuthenticationData( 
   array<byte>^ buffer,
   int length
) 

Parameters

buffer
Buffer that holds the authentication data.
length
The length of the authentication data, in bytes. The method will fail if this is not in the range 1 to 128.

Example

Remarks

Every ISCL-compliant entity must have between 1 and 128 bytes of authentication data. This authentication data is exchanged between the client and the server during the mutual authentication process. This method sets an array of 1 to 128 bytes that contains the authentication data.

The authentication data is data exchanged in plain text. After the mutual authentication process, the communication entities can verify the authentication data of the other entity (client or server) and, if the authentication data is wrong, can close the connection.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features